package cz.cvut.fel.gfupan.gui.component;

import cz.cvut.fel.gfupan.gui.action.InputKeyListener;
import cz.cvut.fel.gfupan.gui.tab.AbstractTab;
import javax.swing.JButton;

public class Button extends JButton {

    public Button(AbstractTab tab) {
//        this.addFocusListener(new TextFocusListener(this, tab));
        this.addKeyListener(new InputKeyListener(tab));
    }
}
